package com.qc.bug.util;

/**
 * @author oenone
 * @time 2017 上午11:29:16
 * @desc
 * 
 */
public class StringUtil {

	/**
	 * @author oenone
	 * @return
	 * @return String
	 * @time 2017 上午11:30:16
	 * @desc 获取四位随机数
	 */
	public static String findRandmNumber() {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < 4; i++) {
			sb.append(((int) (Math.random() * 10)));
		}
		return sb.toString();
	}
}
